package com.example.demo;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by PC-WORK on 2017/10/24.
 */
@Controller
public class Test {

    @RequestMapping(value = "/test")
    @ResponseBody
    public void test() throws Exception {
        System.out.println("hey");

    }

}



